package com.nf.ch03.test05.demo02;

/**
 * @author lwj
 * @date 2025-03-03
 * @vesion 1.0.0
 */
public class Piano extends Instrument{
    public Piano() {
    }

    public Piano(String name, String timbre) {
        super(name, timbre);
    }

    @Override
    public void yanZo() {
        System.out.println(this.getName()+"演奏表演，音色为："+this.getTimbre());
    }
}
